package com.glp.work.flow.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.glp.work.flow.bean.TestJavaConfigBean;

/**
 * 这个是最简单的配置形式，一般应用用这种形式就可以了，用来指示Apollo注入application namespace的配置到Spring环境中
 * @author aoleo
 * @date 2018/10/17 上午11:54
 */


@Configuration
//@Order(1)
//@EnableApolloConfig
public class AppConfig {

    @Bean
    public TestJavaConfigBean javaConfigBean() {
    return new TestJavaConfigBean();
    }


}

